package org.jeecg.modules.travel.vo.feedback;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class JhFeedbackVo {

    /**主键*/
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "主键")
    private String id;
    /**创建人*/
    @Schema(description = "创建人")
    private String createBy;
    /**创建日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "创建日期")
    private Date createTime;
    /**更新人*/
    @Schema(description = "更新人")
    private String updateBy;
    /**更新日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "更新日期")
    private Date updateTime;
    /**所属部门*/
    @Schema(description = "所属部门")
    private String sysOrgCode;
    /**景点id*/
    @Dict(dictTable = "jh_attraction", dicText = "attraction_name", dicCode = "id")
    @Schema(description = "景点id")
    private String attractionId;
    /**用户id*/
    @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "id")
    @Schema(description = "用户id")
    private String userId;
    /**反馈类型：0-投诉，1-建议，2-咨询，3-表扬，4-其他*/
    @Dict(dicCode = "feedback_type")
    @Schema(description = "反馈类型：0-投诉，1-建议，2-咨询，3-表扬，4-其他")
    private String feedbackType;
    /**评价内容*/
    @Schema(description = "评价内容")
    private String feedbackContent;
    /**状态：0-待处理，1-已处理，2-待回复，3-已回复*/
    @Dict(dicCode = "feedback_status")
    @Schema(description = "状态：0-待处理，1-已处理，2-待回复，3-已回复")
    private String feedbackStatus;
    /**回复人员id*/
    @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "id")
    @Schema(description = "回复人员id")
    private String responseUserId;
    /**回复时间*/
    @Schema(description = "回复时间")
    private String responseTime;
    /**回复内容*/
    @Schema(description = "回复内容")
    private String responseContent;
    /**删除：0-否，1-是*/
    @Schema(description = "删除：0-否，1-是")
    @TableLogic
    private Integer delFlag;

}
